<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	//include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	include(ROOTPATH .'include'. DS .'initUser.php');
	include "header.php";
	
	
	if( $user_id != 0 )
		$userInfo = $user -> getUser((int)$user_id);
	
	
?>
<script type="text/javascript">var tagList='<?php echo $tagsUrl;?>';</script>
<script type="text/javascript" src="<?php echo JS_PATH;?>list.js"></script>
</head>
<body>
<?php
echo $_SERVER['QUERY_STRING'];
require('top.php'); ?>
<div class="pos">	
    <div class="contents">
    	<?php require('nav.php'); ?>   
        <h2 class="title"><?php echo $navigation -> getList();?> &gt; 标签: <?php
        	foreach($tagCurrent as $tag){
			 echo  '<b class="high">'.$tag['name'] .'</b> ';
			}
		?></h2>
        <?php
		/*
        <div id="tagMenuList" baseUrl="./?option=list" page="<?php echo $page; ?>">
            <ul>
                <?php getTagMenu(true); ?>
            </ul>
            <input value="检索" type="button" class="submit" id="getMediaList" />
        </div>
		*/?>
        <div id="mediaList" class="mediaList">
            <ul>
                <?php
					getFileLists($tags);
				?>
            </ul>
        </div>
        <div class="pages">
        <?php 
		echo getPages($page , $total  , getPageFileUrl('',true),  MEDIA_PAGESIZE , MEDIA_PAGELISTSIZE );
		//echo getPages($page , $total  , './?option=list&tag='. $tagsUrl .'&user_id='. $user_id ,  MEDIA_PAGESIZE , MEDIA_PAGELISTSIZE ); ?>
        </div>
    </div><!-- .contents-->
</div>




<?php require('footer.php'); ?>

</body>
</html>
